ScanDeviceManager Disconnect
Disconnect from the specified device. This command will terminate any jobs running on the device immediately.
Overloads
| public void Disconnect(string deviceUniqueName) |
Return value
| void |
Parameters
| string | deviceUniqueName | The unique name of the device. |
Exceptions
| DeviceNotFoundException | Throws when the device with the given name is not found |
| DeviceFailureException | Throws when the device failed to connect due to unknown reason |
Example
Copy
scanDeviceManager.Disconnect(selectedDeviceUniqueName);